xen: 'make clean' really cleans unconfigured subdirs.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:30:08 +0000 (17:30 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 12 Apr 2010 16:30:08 +0000 (17:30 +0100)
Previously we skipped those listed in variable $(subdir-), only
including those in the more explicit $(subdir-n).

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/Rules.mk

index 10847182ae8c48fd7613827f405c5e051d3de969..53bfab459dc79eedaf55b0e59f6aed83f81b61be 100644 (file)
@@ -82,7 +82,7 @@ LDFLAGS += $(LDFLAGS_DIRECT)
 include Makefile
 
 # Ensure each subdirectory has exactly one trailing slash.
-subdir-n := $(patsubst %,%/,$(patsubst %/,%,$(subdir-n)))
+subdir-n := $(patsubst %,%/,$(patsubst %/,%,$(subdir-n) $(subdir-)))
 subdir-y := $(patsubst %,%/,$(patsubst %/,%,$(subdir-y)))
 
 # Add explicitly declared subdirectories to the object list.